package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 抗菌药物使用强度药品分类数据实体
 * <p>Title: AntiDose</p>
 * <p>Description: </p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年5月25日 下午5:23:20
 */

@Entity
@Table(name=ConstSysParam.MODULE_ANTI_DRUG_DOSE)
public class AntiDrugDose extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="antiDrugDoseGenerator")
	@TableGenerator(name="antiDrugDoseGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_ANTI_DRUG_DOSE,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	//住院记录编号
	private Long patient_id;
	
	//药品编码
	private String drug_code;
	
	//药品产地
	private Long drug_cd;
	
	//抗菌药物使用强度
	private Double ddd;

	public Long getPatient_id() {
		return patient_id;
	}

	public void setPatient_id(Long patient_id) {
		this.patient_id = patient_id;
	}

	public String getDrug_code() {
		return drug_code;
	}

	public void setDrug_code(String drug_code) {
		this.drug_code = drug_code;
	}

	public Long getDrug_cd() {
		return drug_cd;
	}

	public void setDrug_cd(Long drug_cd) {
		this.drug_cd = drug_cd;
	}

	public Double getDdd() {
		return ddd;
	}

	public void setDdd(Double ddd) {
		this.ddd = ddd;
	}
	
	
	
}
